//
//  DYForgotPasswordVC.m
//  kafuMerchant
//
//  Created by 帝云科技 on 2018/9/11.
//  Copyright © 2018年 帝云科技. All rights reserved.
//

#import "DYForgotPasswordVC.h"
#import "DYForgotPasswordView.h"

@interface DYForgotPasswordVC ()

@property (nonatomic,strong)DYForgotPasswordView *forgotPasswordView;

@end

@implementation DYForgotPasswordVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
-(void)dy_initUI
{
    [super dy_initUI];
    
    self.navigationItem.title=@"忘记密码";
    [self createLeftBarItem:@"nav_back" titleString:nil];
    
    [self.view addSubview:self.forgotPasswordView];
}
-(void)leftButtonClick
{
    [self dismissViewControllerAnimated:YES completion:nil];
}
-(DYForgotPasswordView *)forgotPasswordView
{
    if (!_forgotPasswordView) {
        _forgotPasswordView=[[DYForgotPasswordView alloc]initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight-kNavigationStatusHeight)];
    }
    return _forgotPasswordView;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
